from django.urls import path
from . import views

urlpatterns = [
    path('deleteDevices/', views.delete_device, name='delete_device'),
    path('addDevices/', views.add_devices, name='add_devices'),
    path('updateDevices/', views.update_device, name='update_device'),
    path('configCalculate/', views.config_calculate, name='config_calculate'),
    # path('showIndex/', views.show_index, name='show_index'),
    path('showICE/', views.show_ice, name='show_ice'),
    path('showGB/', views.show_gb, name='show_gb'),
    path('showEB/', views.show_eb, name='show_eb'),
    path('showAR/', views.show_ar, name='show_ar'),
    path('showIT/', views.show_ice_tank, name='show_ice_tank'),
    path('showERU/', views.show_eru, name='show_eru'),
    path('showAP/', views.show_air_pump, name='show_air_pump'),
    path('showGP/', views.show_gp, name='show_gp'),
    path('showGT/', views.show_gt, name='show_gt'),
    path('showWP/', views.show_wp, name='show_wp'),
    path('showPVP/', views.show_pvp, name='show_pvp'),
    path('showARS/', views.show_ars, name='show_ars'),
    path('showButtery/', views.show_buttery, name='show_buttery'),
    path('getParamsFile/', views.get_params_file, name='get_params_file'),  # 获取配置模板
    path('uploadParamsFiles/', views.upload_params_file, name='upload_params_file'),  # 上传负载数据
    path('startCalculate/', views.start_calculate, name='start_calculate'),  # 开始计算
    path('getCalSchedule/', views.get_calculate_schedule, name='get_calculate_schedule'),  # 获取计算进度
    path('showTempDay/', views.show_temp_day, name='show_data_content'),  # 获取典型日数据
    path('getSupplyData/', views.get_supply_data, name='get_supply_data'),  # 获取柱状数据
    path('getLineData/', views.get_line_data, name='get_line_data'),  # 获取线性图数据
    path('getPowerData/', views.get_power_data, name='get_power_data'),  # 获取供电，耗电对比柱状图
    path('getPowerSum/', views.get_power_sum, name='get_power_sum'),  # 获取供电，耗电总和折线图
    path('saveParams/', views.save_params, name='save_params'),  # 保存参数
    path('showParams/', views.show_cal_params, name='show_cal_params'),  # 展示参数
    path('showCalHistory/', views.show_his_params, name='show_his_params'),  # 展示历史数据
    path('getHisFile/', views.get_his_file, name='get_his_file'),  # 获取历史规划负载文件


    path('deleteHisCal/', views.delete_his_cal, name='delete_his_cal'),  # 获取历史规划负载文件


]
